package com.tsy.graduate.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("lesson")
@Accessors(chain = true)
public class Lesson {
    @TableId(type = IdType.AUTO)
    Long id;

    Long teacherId;

    String videoUrl;

    String imgUrl;

    String title;

    Long courseId;

    String textContent;

    //参与人数
    Integer studyNum;

    private Integer created;

    private Integer updated;

    @TableLogic
    private Boolean isDeleted;
}
